package com.le.tester.javaThink.fifth.chapter14_StreamingProgramming;

import java.util.stream.Stream;

/**
 * 描述：Bubbles
 */
public class Bubbles {
    public static void main(String[] args) {
        //调用了Bubble中的bubble方法
        Stream.generate(Bubble::bubble).limit(5).forEach(System.out::println);
    }
}
